package com.example.entity;

import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Builder
@Data
public class Delivery {
    private Integer deliveryId;
    private Integer orderId;
    private Integer goodsId;
    private Integer employeeId;
    private String originAddress;
    private BigDecimal originLongitude;
    private BigDecimal originLatitude;
    private String currentAddress;
    private BigDecimal currentLongitude;
    private BigDecimal currentLatitude;
    private String destinationAddress;
    private BigDecimal destinationLongitude;
    private BigDecimal destinationLatitude;
    private String deliveryMethod;
    private LocalDate plannedDate;
    private LocalDate actualDate;
    private Integer status;
    private BigDecimal distance;
    private Integer duration;
    private String remarks;
    private LocalDateTime time;
    private LocalDateTime createdTime;
}
